/*
 * @Author: wuzhouhai wzh200x@126.com
 * @Date: 2024-04-12 16:02:54
 * @LastEditors: wuzhouhai wzh200x@126.com
 * @LastEditTime: 2024-04-12 16:13:27
 * @FilePath: \phoenix-client-damo\assets\src\phoenix\net\message\header.ts
 * @Description: 
 */
export class MessageHeader {
    public Length: number = 0;     // 包长度
    public VerifyID: number = 0;   // 验证ID 只增不减少
    public Opcode:number = 0;      // 消息码
    public OpcodeType:number = 0;  // 消息码类型,决定解包
    public Masked:boolean = false; // 是否有掩码
    public Mask:Uint8Array = new Uint8Array(4);   // 掩码
}